import { Consumables } from "./type";
const consumablesPools = new Map();
export const consumablesType = {
  FIXEDHEAL: "FIXEDHEAL",
  PERCENTAGEHEAL: "PERCENTAGEHEAL",
  SURPRISEGIFT: "SURPRISEGIFT"
};
const consumablesList: ConsumablesPackItem[] = [
  {
    id: -1,
    name: "小红药",
    img:
      "https://s.aigei.com/src/img/png/b9/b98f73b5cd804435b5f595f88c32f31c.png?imageMogr2/auto-orient/thumbnail/!23x23r/gravity/Center/crop/23x23/quality/85/&e=1735488000&token=P7S2Xpzfz11vAkASLTkfHN7Fw-oOZBecqeJaxypL:v4TfRK8qXByu6n5LcomdRimVLWM=",
    value: 50,
    useType: consumablesType.FIXEDHEAL,
    price: 10,
    grade: 0
  },
  {
    id: -2,
    name: "雷雷的援助",
    img:
      "https://s.aigei.com/src/img/png/bf/bf7adfcdaf9a477aad61a4a15b7ea45d.png?imageMogr2/auto-orient/thumbnail/!23x23r/gravity/Center/crop/23x23/quality/85/&e=1735488000&token=P7S2Xpzfz11vAkASLTkfHN7Fw-oOZBecqeJaxypL:KshW3Gy9kqJXDUTf_nXeohH5LwU=",
    value: 0.3,
    useType: consumablesType.PERCENTAGEHEAL,
    price: 1000,
    grade: 2
  },
  {
    id: -3,
    name: "中红药",
    img:
      "https://s.aigei.com/src/img/png/12/12c71d7268e54cf083da597137a3fd1a.png?imageMogr2/auto-orient/thumbnail/!23x23r/gravity/Center/crop/23x23/quality/85/imageView2/2/w/23/|watermark/3/text/ZA==/font/5b6u6L2v6ZuF6buR/fontsize/212/fill/cmVk/dissolve/32/gravity/NorthWest/dx/5/dy/5/text/Mg==/font/5b6u6L2v6ZuF6buR/fontsize/212/fill/cmVk/dissolve/32/gravity/SouthWest/dx/5/dy/5&e=1735488000&token=P7S2Xpzfz11vAkASLTkfHN7Fw-oOZBecqeJaxypL:RxBxqjooJNriepD8Vt3SOhQ_TOY=",
    value: 100,
    useType: consumablesType.FIXEDHEAL,
    price: 30,
    grade: 0
  }

  // 惊喜蛋 https://s.aigei.com/src/img/png/63/631c6bd1586d48b09e0ce18b0e5cb8d8.png?imageMogr2/auto-orient/thumbnail/!27x27r/gravity/Center/crop/27x27/quality/85/&e=1735488000&token=P7S2Xpzfz11vAkASLTkfHN7Fw-oOZBecqeJaxypL:Ycv3FNwbmZATohX_klLUsZ7fmCE=
];

consumablesList.forEach(m => {
  consumablesPools.set(m.name, new Consumables(m));
});

export default consumablesPools;
